package com.mylearn.myblog.dto;

import com.mylearn.myblog.entity.Comment;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* @Description:    博客数据传输型
* @Author:         Joe
* @CreateDate:     2020/3/4 21:21
*/
@Data
public class BlogDTO {
    private Long id;
    private String title;
    private String content;
    private String firstPicture;
    private String flag;
    private Integer views;
    private boolean appreciation;
    private boolean shareStatement;
    private boolean commentabled;
    private boolean published;
    private boolean recommend;
    private Date createTime;
    private String typeName;
    private List<String> tagsName;
    private List<Comment> comments = new ArrayList<>();
}
